﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cecbData;
using cecbClasses.Data_Classes;


namespace cecbClasses.Data_Adapters.MatrixLeopold
{
    public class LeoPoldCalculations
    {
        public DSSEntities dataContext;

        public LeoPoldCalculations()
        {

            dataContext = new DSSEntities();

        }



        #region "Leopold Matrix View"

        //public List<Get_Leopold_Phase_Result> GetLeopoldPhases(string mProjectRef)
        //{
        //    List<Get_Leopold_Phase_Result> Query =
        //            (from t in dataContext.Get_Leopold_Phase(mProjectRef)
        //             select t).ToList();

        //    List<Get_Leopold_Phase_Result> ptype_name = Query.ToList();

        //    return ptype_name;
        //}

        //public List<Get_Leopold_Activities_Result> GetLeopoldActivities(string mProjectRef)
        //{
        //    List<Get_Leopold_Activities_Result> Query =
        //            (from t in dataContext.Get_Leopold_Activities(mProjectRef)
        //             select t).ToList();

        //    List<Get_Leopold_Activities_Result> ptype_name = Query.ToList();

        //    return ptype_name;
        //}

        //public List<Get_Leopold_Impacts_Result> GetLeopolImpacts(string mProjectRef)
        //{
        //    List<Get_Leopold_Impacts_Result> Query =
        //            (from t in dataContext.Get_Leopold_Impacts(mProjectRef)
        //             select t).ToList();

        //    List<Get_Leopold_Impacts_Result> ptype_name = Query.ToList();

        //    return ptype_name;
        //}

        //public List<Get_Leopold_Matric_Result> GetLeopolMatrices(string mProjectRef)
        //{
        //    List<Get_Leopold_Matric_Result> Query =
        //            (from t in dataContext.Get_Leopold_Matric(mProjectRef)
        //             select t).ToList();

        //    List<Get_Leopold_Matric_Result> ptype_name = Query.ToList();

        //    return ptype_name;
        //}

        #endregion

    }
}

